package org.nightrunner.d3.service;

import java.io.Serializable;
import java.util.List;

import org.nightrunner.d3.entity.Equipment;
import org.nightrunner.d3.model.IPaginationInfo;
import org.nightrunner.d3.model.PaginationModel;

/**
 * Equipment Service interface
 * 
 * @author NightRunner
 * @date 2012-7-26
 * @version 1.0
 */
public interface IEquipmentService {

	PaginationModel<List<Equipment>> getEquipment();

	PaginationModel<List<Equipment>> getEquipments(IPaginationInfo pagination);

	void deleteEquipment(Equipment equipment);

	Equipment getEquipment(String equipmentId);

	Serializable addEquipment(Equipment equipment);

	List<Equipment> getAllEquipment();

	void updateEquipment(Equipment equipment);
}